﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 层级看板 - 安全管理 - 安全录入
    /// </summary>
    public class t_bi_line_safety : EntityBase
    {
        [EntityFieldLength(50)]
        public string line_code { get; set; }

        public string line_name { get; set; }

        public string line_name_en { get; set; }

        public string line_name_th { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [EntityFieldIndex]
        public DateTime time { get; set; }

        /// <summary>
        /// 是否异常
        /// </summary>
        public bool is_abnormal { get; set; }

        /// <summary>
        /// 状态 0: 未知（时间未到） 1：正常 2：异常, 3：隐患
        /// </summary>
        public int safety_status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [EntityFieldLength(500)]
        public string remark { get; set; }
    }
}
